package com.simple.mapper.ocrmark;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OcrQuestionMarkMapper {
	
	
	public String  getOneImg();
	
	public void initInsert(String imgname);

	public void insertBatch(List<String> imgs);
	
	public void updateMark(Map map);

	public void marking(String imgname);
	
	public void invalid(String imgname);

	public List<Map<String,Object>> queryAll();

	public long queryAllCount();

	public long queryIsMarkCount();
	public long queryNoMarkCount();

	public int unlockMarking();




	public List<Map<String,Object>> queryIsMarkValid();
	public List<Map<String,Object>> queryIsMarkInValid();
	public List<Map<String,Object>> queryIsMarkPointValid();
	public List<Map<String,Object>> queryIsMarkNoPointValid();

	public List<Map<String,Object>> queryIsMarkNoSearch();
	public List<Map<String,Object>> queryIsMarkPointNoSearch();
	public List<Map<String,Object>> queryIsMarkNoPointNoSearch();

	public List<Map<String,Object>> queryIsMarkSuccess();
	public List<Map<String,Object>> queryIsMarkPointSuccess();
	public List<Map<String,Object>> queryIsMarkNoPointSuccess();

	public List<Map<String,Object>> queryIsMarkSuccessFirst();
	public List<Map<String,Object>> queryIsMarkPointSuccessFirst();
	public List<Map<String,Object>> queryIsMarkNoPointSuccessFirst();

	public List<Map<String,Object>> queryIsMarkSuccessNoFirst();
	public List<Map<String,Object>> queryIsMarkPointSuccessNoFirst();
	public List<Map<String,Object>> queryIsMarkNoPointSuccessNoFirst();

}
